package com.linjiahao.nettyOne.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.linjiahao.nettyOne.domain.ChatMessage;
import com.linjiahao.nettyOne.vo.MessageVO;
import com.linjiahao.servicebase.vo.NettyMessageVO;

import java.util.List;

/**
*
*/
public interface ChatMessageService extends IService<ChatMessage> {

    List<MessageVO> getHistoryMessage(Long userId, Long receiveId, Integer pageNo, Integer pageSize);

    NettyMessageVO addNewMessage(NettyMessageVO nettyMessageVO);
}
